<table>
<tr>
	<td>
		<div id="tep-menu-box">
			<ul id="tep-menu">
				<li><a href="/mworker/workerList/id/<?php echo $_menu_id;?>" class="<?php if(!$param['sch_duty']){?>current<?php }?>">전체</a></li>
				<?php 
					foreach($code_duty as $row){
						$css = ($param['sch_duty'] == $row->code_id) ? 'current' : '';
						echo "<li><a href=\"/mworker/workerList/id/{$_menu_id}/sch_duty/{$row->code_id}\" class=\"{$css}\">{$row->title}</a></li>\n";
					}
				?>
			</ul>
		</div>
	</td>
</tr>
<!-- //탭메뉴 -->
<tr><td height="1" bgcolor="#c8c8c8"></td></tr>
<tr><td height="20"></td></tr>
</table>

<style type="text/css">
	ul.gallery{width:800px;float:left;margin-top:10px;}
	ul.gallery li{float:left;width:180px;text-align:center;margin-right:20px;margin-bottom:20px;}
	ul.gallery li img{border-top:1px solid #fe6600}
	ul.gallery li p{padding:0;margin:0;margin:2px 0 0 2px;text-align:left}
	ul.gallery li p.title{color:#282828;font-size:18px;font-weight:bold;}
	ul.gallery .mhover{border:4px solid #85a9cb}
</style>
<ul class="gallery">
	<?php 
		foreach($rst as $row){
			$photo = '/theme/'.$_theme.'/images/blank.gif';
			if($row->photo){
				$photo_file = explode('|',$row->photo);
				$photo = '/upload/worker/'.$photo_file[0];
			}
	?>
	<li>
		<p><img src="<?php echo $photo;?>" width="180" height="120" /></p>
		<p class="text_basic_b"><?php echo $row->duty;?></p>
		<p class="title"><?php echo $row->name;?></p>
		<p class="email"><a href="<?php echo $row->email;?>"><?php echo $row->email;?></a></p>
	</li>
	<?php 
		$list_no--;
		}
	?>
	<!--[e] 반복 -->
</ul>




